// 对axios的二次封装
import request from '@/utils/request'

/**
 * 获取菜单栏
 */
export function getMenuList(data) {
  return request({
    url: '/rights?_embed=children',
    method: 'get',
    data
  })
}